<template>
  <div class="blue">
    新建vue文件夹，把模板抽取到App.js中
    <Cpn/>
  </div>
</template>

<script>
import Cpn from "./Cpn.vue";

export default {
  name: "App",
  components: {
    Cpn
  },
  data() {
    return {
      msg: "这是抽取到app.js后里的data"
    };
  }
};
</script>

<style scoped>
.blue {
  color: blue;
}
</style>

